package com.Mt.Mager.Contorller;


import com.Mt.Dto.Dto;
import com.Mt.Service.Mt_SignService;
import com.Mt.Utils.DtoUtil;
import com.alibaba.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("collect")
public class integralController {
  @Reference
    private Mt_SignService mt_SignService;


  @GetMapping("list")
    public Dto list(){
      return DtoUtil.returnSuccessData(mt_SignService.list());
  }
}
